package com.youmu.shop.product.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.youmu.shop.base.dao.BaseDao;
import com.youmu.shop.product.vo.ProductSpecificationVO;

public interface ProductSpecificationDao extends BaseDao<ProductSpecificationVO>{

	List<ProductSpecificationVO> getProductSpecificationInfoByValueId(@Param("specificationValueId")Long specificationValueId);

	/**
	 * 根据商品主键查询规格详情
	 * @param productId
	 * @return
	 */
	List<ProductSpecificationVO> getProductSpecificationInfoByProductId(Long productId);
	
}
